//
//  M4Color.swift
//  M4
//
//  Created by YuChuang on 2024/8/6.
//

import Foundation
import UIKit


extension UIColor {
    
    convenience init(hex: Int, alpha: Double = 1.0){
        let red = Double((hex >> 16) & 0xFF) / 255.0
        let green = Double((hex >> 8) & 0xFF) / 255.0
        let blue = Double(hex & 0xFF) / 255.0
        self.init(red: red, green: green, blue: blue, alpha: alpha)
    }
    
}

let COLOR_00479D = UIColor(hex: 0x00479D)
let COLOR_F1F3F5 = UIColor(hex: 0xF1F3F5)
let COLOR_FFA43B = UIColor(hex: 0xFFA43B)
let COLOR_55A2FF = UIColor(hex: 0x55A2FF)
let COLOR_333333 = UIColor(hex: 0x333333)
let COLOR_999999 = UIColor(hex: 0x999999)
let COLOR_E8E8E8 = UIColor(hex: 0xE8E8E8)
let COLOR_000000 = UIColor(hex: 0x000000)
let COLOR_EEEEEE = UIColor(hex: 0xEEEEEE)
let COLOR_CCCCCC = UIColor(hex: 0xCCCCCC)
let COLOR_666666 = UIColor(hex: 0x666666)
let COLOR_EFEFEF = UIColor(hex: 0xEFEFEF)
let COLOR_9D0000 = UIColor(hex: 0x9D0000)
let COLOR_FF1406 = UIColor(hex: 0xFF1406)
let COLOR_E87215 = UIColor(hex: 0xE87215)
let COLOR_EBEBEB = UIColor(hex: 0xEBEBEB)
